[USER (data scientist)]: Great! Please create bar charts that display loan approval rates for each credit history category, employment status, middle-age group, and credit amount range. Consider the loan approval rate to be represented by the "good" class column.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd  
import matplotlib.pyplot as plt  
from decision_company import read_csv_file, get_fig_from_df, count_unique_values, set_layout, bind_dataframe, pivot_a_level, fill_missing_values, create_subplots, show_plots, save_plot, fetch_column, logical_and, filter_by_condition

# Load the dataset  
credit_customers = read_csv_file("credit_customers.csv")  
  
# YOUR SOLUTION BEGIN:
<code1>
[GENERATE YOUR CODE]
</code1>
# YOUR SOLUTION END

# Plot bar charts  
fig, axes = create_subplots(2, 2, figsize=(12, 8))  
  
# YOUR SOLUTION BEGIN:
<code2>
[GENERATE YOUR CODE]
</code2>
# YOUR SOLUTION END

# save data
save_plot('pred_result/bar_chart.png')  
show_plots()

---END CODE TEMPLATE---

[YOU (AI assistant)]:Sure, I can help you with that. To generate bar charts for loan approval rates based on the specified columns and conditions, you can use the following code:

# MY SOLUTION BEGIN:
